Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.webengine.mobile.pageproviders.contrib--providers

This contribution is part of XML component org.nuxeo.webengine.mobile.pageproviders.contrib inside nuxeo-web-mobile-cap-7.10.jar /OSGI-INF/web-mobile-pageproviders-contrib.xml

Extension Point

Extension point providers of component PageProviderService.

Contributed Items

  • <coreQueryPageProvider name="search_core_default">
            <property name="coreSession">#{documentManager}</property>
            <whereClause docType="DefaultSearch">
              <fixedPart>
                ecm:mixinType != 'HiddenInNavigation' AND ecm:isProxy = 0
                AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted'
                AND SORTED_COLUMN IS NOT NULL
              </fixedPart>
              <predicate operator="FULLTEXT" parameter="ecm:fulltext">
                <field name="ecm_fulltext" schema="default_search"/>
              </predicate>
              <predicate operator="IN" parameter="dc:creator">
                <field name="dc_creator" schema="default_search"/>
              </predicate>
              <predicate operator="BETWEEN" parameter="dc:created">
                <field name="dc_created_min" schema="default_search"/>
                <field name="dc_created_max" schema="default_search"/>
              </predicate>
              <predicate operator="STARTSWITH" parameter="dc:subjects">
                <field name="dc_subjects" schema="default_search"/>
              </predicate>
              <predicate operator="STARTSWITH" parameter="dc:coverage">
                <field name="dc_coverage" schema="default_search"/>
              </predicate>
              <predicate operator="STARTSWITH" parameter="ecm:path">
                <field name="ecm_path" schema="default_search"/>
              </predicate>
              <predicate operator="IN" parameter="collectionMember:collectionIds">
                <field name="ecm_collections" schema="default_search"/>
              </predicate>
            </whereClause>
            <sort ascending="true" column="dc:title"/>
            <pageSize>20</pageSize>
          </coreQueryPageProvider>

XML Source

<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService">

      <coreQueryPageProvider name="search_core_default">
        <property name="coreSession">#{documentManager}</property>
        <whereClause docType="DefaultSearch">
          <fixedPart>
            ecm:mixinType != 'HiddenInNavigation' AND ecm:isProxy = 0
            AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted'
            AND SORTED_COLUMN IS NOT NULL
          </fixedPart>
          <predicate operator="FULLTEXT" parameter="ecm:fulltext">
            <field name="ecm_fulltext" schema="default_search"/>
          </predicate>
          <predicate operator="IN" parameter="dc:creator">
            <field name="dc_creator" schema="default_search"/>
          </predicate>
          <predicate operator="BETWEEN" parameter="dc:created">
            <field name="dc_created_min" schema="default_search"/>
            <field name="dc_created_max" schema="default_search"/>
          </predicate>
          <predicate operator="STARTSWITH" parameter="dc:subjects">
            <field name="dc_subjects" schema="default_search"/>
          </predicate>
          <predicate operator="STARTSWITH" parameter="dc:coverage">
            <field name="dc_coverage" schema="default_search"/>
          </predicate>
          <predicate operator="STARTSWITH" parameter="ecm:path">
            <field name="ecm_path" schema="default_search"/>
          </predicate>
          <predicate operator="IN" parameter="collectionMember:collectionIds">
            <field name="ecm_collections" schema="default_search"/>
          </predicate>
        </whereClause>
        <sort ascending="true" column="dc:title"/>
        <pageSize>20</pageSize>
      </coreQueryPageProvider>

  </extension>